package com.wen.open.springframework.test.event;

import com.wen.open.springframework.context.ApplicationListener;

/**
 * @author Wen
 * @date 2023/4/26 10:00
 */
public class CustomerListener implements ApplicationListener<CustomEvent> {

    @Override
    public void onApplicationEvent(CustomEvent event) {
        System.out.println("接收到了自定义事件:" + event.getMsg());
    }
}
